﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Permit.aspx.cs" Inherits="admin_permisos"  MasterPageFile="~/admin/MasterPage2.master"%>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="0" class="letraNegra13" width="1100px" 
        bgcolor="White" >
                <tr bgcolor="White">
                    
                    <td class="letracuadroscolores" >
                        <table width="100%"><tr><td align="left" valign="middle" style="color:#3270b2"><asp:Image ID="logo" runat="server" ImageUrl="~/img/yourlogo.png" Height="114px" 
                    Width="116px" />
                            <asp:Label ID="Label1" runat="server" Text="User: "></asp:Label>
                            <asp:Label ID="name" runat="server"></asp:Label>
                                            </td><td></td></tr>
                        </table>
                        </td>
                </tr>
                <tr>
                    <td bgcolor="#FA7E02" class="letracuadroscolores" >User Settings<asp:ToolkitScriptManager 
                            ID="ToolkitScriptManager1" runat="server">
                        </asp:ToolkitScriptManager>
                    </td>
                </tr>
                 <tr>
                    <td >
                        <asp:Panel ID="PUserType" runat="server" BackColor="White">
                         <table width="100%" cellspacing="2" cellpadding="2" class="table">
                            <tr>
                                <td class="letrabold" bgcolor="#9AC9F8" colspan="4" style="text-align:left">&nbsp;&nbsp; Group Settings</td>
                            </tr>
                             <tr style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC">
                                 <td class="style19" valign="top">
                                     Group</td>
                                 <td align="left" valign="bottom" class="style31" style="padding-left:10px">
                                    <table>
                                        <tr>
                                            <td>
                                                <asp:CheckBox ID="chkClient" runat="server" Font-Size="Small"  AutoPostBack="false" Text="Client" Font-Bold="True" ForeColor="#525663" />
                                                <asp:MutuallyExclusiveCheckBoxExtender ID="chkSendExtender" runat="server"  TargetControlID="chkClient" Key="SendOrDelete" ></asp:MutuallyExclusiveCheckBoxExtender>
                                                &nbsp;&nbsp;
                                                <asp:CheckBox ID="chkVendor" runat="server" AutoPostBack="false" Font-Size="Small" Text="Vendor" Font-Bold="True" ForeColor="#525663" />
                                                &nbsp;&nbsp;<asp:MutuallyExclusiveCheckBoxExtender ID="chkVendorExtender" runat="server" Key="SendOrDelete" TargetControlID="chkVendor" />
                                                &nbsp;<asp:CheckBox ID="chkEmployee" runat="server" Font-Size="Small" Text="Employee" Font-Bold="True" ForeColor="#525663" />
                                                <asp:MutuallyExclusiveCheckBoxExtender ID="chkEmployeeExt" runat="server" Key="SendOrDelete" TargetControlID="chkEmployee"></asp:MutuallyExclusiveCheckBoxExtender>
                                            </td>
                                            <td class="style72">
                                                <asp:LinkButton ID="lnk_activate" runat="server" CssClass="button2_ok" 
                                                    ForeColor="White" onclick="lnk_activate_Click"><span>Activate</span></asp:LinkButton>
                                                <asp:LinkButton ID="lnk_deactivate" runat="server" CssClass="button2_ok" 
                                                    ForeColor="White" onclick="lnk_deactivate_Click"><span>Deactivate</span></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </table>
                                     
                                      
                                 </td>
                                 <td class="style7" valign="top" align="left">
                                     Add New Element</td>
                                 <td align="left" valign="middle">
                                     <asp:Panel ID="PAdd" runat="server">
                                        <table border="0" cellpadding="0" cellspacing="4" width="250px">
                                            <tr>
                                                <td>
                                                    <asp:DropDownList ID="cbxcategoria" runat="server" Width="150px">
                                                        <asp:ListItem>Select One</asp:ListItem>
                                                        <asp:ListItem>Type Employee</asp:ListItem>
                                                        <asp:ListItem>Company</asp:ListItem>
                                                        <asp:ListItem>Account</asp:ListItem>
                                                        <asp:ListItem>State</asp:ListItem>
                                                        <asp:ListItem>County</asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                                <td>
                                                    <asp:LinkButton ID="lnk_addnew" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addnew_Click"><span>Add New</span></asp:LinkButton>
                                                </td>
                                                <td>
                                                    <asp:Label ID="lerror" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                         
                                         
                                         
                                     </asp:Panel>
                                 </td>
                             </tr>
                             <tr>
                                 <td class="style19" valign="top">Type Employee</td>
                                 
                                 <td align="left" class="style15" valign="top" style="padding-left:10px">
                                     <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" 
                     CssClass="letraNegra13" oncheckedchanged="CheckBox1_CheckedChanged" Text="All" 
                                         Font-Bold="True" ForeColor="#525663" />

                                     <asp:LinkButton ID="lnk_savegroup0" runat="server" CssClass="button2_ok" 
                                         ForeColor="White" onclick="lnk_savegroup_Click"><span>Edit</span></asp:LinkButton>

                                     <table width="395px" cellspacing="1" style="border-style:groove; border-width:2px">
                                        <tr>
                                            <td><asp:CheckBoxList ID="ChkListEmployee" runat="server" RepeatColumns="3" 
                                                    BorderColor="#333333" BorderWidth="0px" CellSpacing="5" Width="495px" 
                                                    OnSelectedIndexChanged="ChkListEmployee_SelectedIndexChanged" 
                                                    AutoPostBack="True" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                        </tr>
                                     </table>


                                    
                                 </td>
                                 <td class="style7" valign="top">
                                     &nbsp;</td>
                                 <td align="left" valign="top">
                                     <asp:Panel ID="TEmployye" runat="server" Visible="False">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtemployee" runat="server" CssClass="txtForm" Width="150px"   Tooltip="Name Type Employee" ></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:TextBoxWatermarkExtender ID="txtemployee_TextBoxWatermarkExtender" runat="server" TargetControlID="txtemployee" WatermarkText="Name Type Employee" WatermarkCssClass="letraWaterMask13"></asp:TextBoxWatermarkExtender>
                                                    <asp:LinkButton ID="lnk_addtemployee" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addtemployee_Click"><span>Save</span></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                     </asp:Panel>
                                     <asp:Panel ID="PCompany" runat="server" Visible="False">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtcompany" runat="server" CssClass="txtForm" Width="150px"  Tooltip="Name Company"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:TextBoxWatermarkExtender ID="txtcompany_TextBoxWatermarkExtender" WatermarkText="Name Company" runat="server" TargetControlID="txtcompany" WatermarkCssClass="letraWaterMask13"></asp:TextBoxWatermarkExtender>
                                                    <asp:LinkButton ID="lnk_addcompany" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addcompany_Click"><span>Save</span></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                     </asp:Panel>
                                     <asp:Panel ID="PAccount" runat="server" Visible="False">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtaccount" runat="server" CssClass="txtForm" Width="150px"  Tooltip="Account Name"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtaccount_TextBoxWatermarkExtender" 
                                                        runat="server" TargetControlID="txtaccount" WatermarkCssClass="letraWaterMask13" WatermarkText="Account Name">
                                                    </asp:TextBoxWatermarkExtender>
                                                    <asp:TextBox ID="txtaccinitial" runat="server" CssClass="txtForm" MaxLength="3"  Tooltip="Initial. (3) chars max."
                                                    Width="150px"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtaccinitial_TextBoxWatermarkExtender" WatermarkCssClass="letraWaterMask13" WatermarkText="Initial. (3) chars max."
                                                        runat="server" TargetControlID="txtaccinitial">
                                                    </asp:TextBoxWatermarkExtender>
                                                </td>
                                                <td>
                                                    <asp:LinkButton ID="lnk_addaccount" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addaccount_Click"><span>Save</span></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                         
                                         
                                         
                                     </asp:Panel>
                                     <asp:Panel ID="Pstate" runat="server" Visible="False">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtstate" runat="server" CssClass="txtForm" Width="150px"  Tooltip="State Name"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtstate_TextBoxWatermarkExtender" runat="server" TargetControlID="txtstate" WatermarkText="State Name" WatermarkCssClass="letraWaterMask13"></asp:TextBoxWatermarkExtender>
                                                    <asp:TextBox ID="txtstateinitial" runat="server" CssClass="txtForm" Tooltip="Initial. (3) chars max." MaxLength="3" Width="150px"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtstateinitial_TextBoxWatermarkExtender" runat="server" TargetControlID="txtstateinitial" WatermarkCssClass="letraWaterMask13" WatermarkText="Initial. (3) chars max."></asp:TextBoxWatermarkExtender>
                                                </td>
                                                <td>
                                                    <asp:LinkButton ID="lnk_addstate" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addstate_Click"><span>Save</span></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                     </asp:Panel>
                                     <asp:Panel ID="Pcounty" runat="server" Visible="False">
                                        <table>
                                            <tr>
                                                <td>
                                                    <asp:DropDownList ID="cbxstate" runat="server" CssClass="txtForm" Width="90px"></asp:DropDownList>
                                                    <asp:TextBox ID="txtcounty" runat="server" CssClass="txtForm" Width="90px" Tooltip="Name new County"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtcounty_TextBoxWatermarkExtender" WatermarkText="County Name" WatermarkCssClass="letraWaterMask13" runat="server" TargetControlID="txtcounty"></asp:TextBoxWatermarkExtender>
                                                    <asp:TextBox ID="txtcountyinitial" runat="server" CssClass="txtForm" Tooltip="Initial new County. (3) chars max." Width="90px"></asp:TextBox>
                                                    <asp:TextBoxWatermarkExtender ID="txtcountyinitial_TextBoxWatermarkExtender" WatermarkText="County Initial" WatermarkCssClass="letraWaterMask13" runat="server" TargetControlID="txtcountyinitial"></asp:TextBoxWatermarkExtender>
                                                </td>
                                                <td>
                                                    <asp:LinkButton ID="lnk_addcounty" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_addcounty_Click"><span>Save</span></asp:LinkButton>
                                                </td>
                                            </tr>
                                        </table>
                                         
                                     </asp:Panel>
                                     <asp:Label ID="lerror2" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                                     <br />
                                     <br />
                                     <br />
                                     <br />
                                 </td>
                             </tr>
                            </table>
                        </asp:Panel>
                        </td>
                </tr>
                    <tr>
                    <td >
                        <asp:Panel ID="PCompanyAccess" runat="server">
                            <table width="100%" cellpadding="2" cellspacing="2" class="table">
                            <tr>
                                <td  bgcolor="#9AC9F8" colspan="4" class="letrabold" style="text-align:left">&nbsp;&nbsp; Page and View Settings </td>
                                
                            </tr>
                                <tr valign="top" style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC">
                                    <td class="style57" >
                                        Company Access</td>
                                    <td align="left" style="padding-left:8px" class="style31">
                                        <asp:CheckBox ID="chkallcomp" runat="server" AutoPostBack="True" 
                                            CssClass="letraNegra13" oncheckedchanged="chkallcomp_CheckedChanged" Text="All" 
                                            Font-Bold="True" ForeColor="#525663" />
                                    </td>
                                    <td class="style25" align="left"><strong>View Default </strong></td>
                                    <td align="left">
                                        <asp:CheckBox ID="all" runat="server" AutoPostBack="True" 
                                            CssClass="letraNegra13" oncheckedchanged="all_CheckedChanged" Text="All" 
                                            Font-Bold="True" ForeColor="#525663" />
                                    </td>
                                </tr>
                                
                                <tr valign="top" 
                                    style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC">
                                    <td width="100px" class="style7">
                                        &nbsp;</td>
                                    <td align="left" style="padding-left:7px" class="style31">
                                        <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                            <tr>
                                                <td><asp:CheckBoxList ID="ChkListCompanyAcc" runat="server" RepeatColumns="4" 
                                                        Width="391px" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                            </tr>
                                        </table>
                                    </td>
                                   
                                    <td align="left" class="style25">
                                        &nbsp;</td>
                                    <td align="left">
                                        <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                            <tr>
                                                <td><asp:CheckBoxList ID="ChkListViewDe" runat="server" RepeatColumns="3" 
                                                        Width="391px" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                            </tr>
                                        </table>
                                    </td>
                                   
                                </tr>
                                
                                <tr style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC" 
                                    valign="top">
                                    <td class="style57" >
                                        Access
                                    </td>
                                    <td align="left" style="padding-left:6px" class="style31">
                                        
                                        &nbsp;</td>
                                    
                                </tr>
                                <tr style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC" valign="top">
                                    
                                    <td align="left" style="padding-left:8px" colspan="4" class="style31" width="80%">
                                        <asp:Panel ID="Punaccess" runat="server" HorizontalAlign="Left" BorderColor="Black" style="padding-left:105px; padding-right:150px"></asp:Panel>
                                        <asp:LinkButton ID="lnk_back" runat="server" CssClass="button_save" 
                                            onclick="lnk_back_Click" Visible="False"><span>Back</span></asp:LinkButton>
                                    </td>
                                </tr>

                                <tr style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC" valign="top">
                                    <td width="100px" class="style7">
                                        <strong>Filter View</strong></td>
                                    <td align="left" style="padding-left:5px" class="style31">
                                        &nbsp;<asp:CheckBox ID="chkfilteall" runat="server" CssClass="letraNegra13" 
                                            oncheckedchanged="chkfilteall_CheckedChanged" Text="All" 
                                            AutoPostBack="True" Font-Bold="True" ForeColor="#525663" />
                                    </td>
                                    <td class="style25">
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr valign="top">
                                    <td class="style7" width="100px" style="padding-left:5px">
                                        &nbsp;</td>
                                    <td align="left" style="padding-left:7px" class="style31">
                                    <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                        <tr>
                                            <td class="style34"><asp:CheckBoxList ID="chkfilterview" runat="server" 
                                                    CellPadding="5" CellSpacing="5" RepeatColumns="4" Width="394px" 
                                                    Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                        </tr>
                                    </table>
                                    </td>
                                    
                                </tr>
                            </table>

                        </asp:Panel>
                        </td>
                </tr>
                   
                 
                 <tr>
                    <td >
                        <asp:Panel ID="PClient" runat="server">
                         <table width="100%" cellspacing="2" cellpadding="2" class="table">
                            <tr bgcolor="#9AC9F8" class="letrabold">
                                <td class="letrabold" valign="top" colspan="4" style="text-align:left">&nbsp;&nbsp; Client Settings</td>
                            </tr>
                             <tr style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC" valign="top">
                                 <td class="style7" valign="top">
                                     BPO Companies</td>
                                 <td class="style46" align="left" style="padding-left:10px">
                                     <asp:CheckBox ID="chkcompanyall" runat="server" AutoPostBack="True" 
                                         CssClass="letraNegra13" oncheckedchanged="chkcompanyall_CheckedChanged" 
                                         Text="All" Font-Bold="True" ForeColor="#525663" />

                                    <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                        <tr>
                                            <td class="style15"><asp:CheckBoxList ID="CKListCompanies" runat="server" 
                                                    RepeatColumns="4" Width="390px" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                        </tr>
                                    </table>
                                 </td>
                                 <td class="style52" valign="top">
                                     Accounts<br />
                                     </td>
                                 <td valign="top" align="left">
                                     <asp:CheckBox ID="chkaccall" runat="server" AutoPostBack="True" 
                                         CssClass="letraNegra13" oncheckedchanged="chkaccall_CheckedChanged" 
                                         Text="All" Font-Bold="True" ForeColor="#525663" />
                                    <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                            <tr>
                                                <td><asp:CheckBoxList ID="CKListAccounts" runat="server" RepeatColumns="3" 
                                                        Width="391px" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                            </tr>
                                    </table>
                                 </td>
                             </tr>
                             <tr valign="top">
                                 <td class="style7" valign="top">
                                     Product Prices<br /> </td>
                                 <td class="style46" style="padding-left: 10px">
                                  <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                            <tr>
                                                <td>
                                                     <asp:Panel ID="PClientPrices" runat="server">
                                                     </asp:Panel>
                                                </td>
                                             </tr>
                                   </table>
                                 </td>
                                 <td class="style52" valign="top">
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                             <tr>
                                 <td class="style18" valign="top">
                                     &nbsp;</td>
                                 <td class="style46">
                                     &nbsp;</td>
                                 <td class="style52">
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                             </tr>
                            </table>
                        </asp:Panel>
                        </td>
                </tr>
                <tr>
                    <td >
                        <asp:Panel ID="PVendor" runat="server">
                         <table width="100%" cellspacing="2" cellpadding="2" class="table">
                             <tr>
                                 <td class="letrabold" bgcolor="#9AC9F8" colspan="4" style="text-align:left">
                                     &nbsp;&nbsp;Vendor Prices</td>
                             </tr>
                             <tr valign="top" 
                                 style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC">
                                 <td class="style18" valign="top">
                                     Proccesses Prices</td>
                                 <td  align="left" style="padding-left:7px" class="style31">
                                 <table width="400px" cellspacing="1" style="border-style:groove; border-width:2px">
                                            <tr>
                                                <td> <asp:Panel ID="PVendorPrices" runat="server" Width="390px" >
                                     </asp:Panel></td>
                                            </tr>
                                  
                                    
                                       </table>
                                 </td>
                                 <td class="style57" valign="top">
                                     &nbsp;</td>
                                 <td align="left" >
                                    
                                 </td>
                             </tr>
                             <tr valign="top">
                                 <td class="style68" >
                                     &nbsp;</td>
                                 <td  colspan="3" >
                                     <br/>
                                 </td>
                             </tr>
                 </table>
                        </asp:Panel>
                        </td>
                </tr>
                <tr>
                    <td >
                        <asp:Panel ID="Pcoverage" runat="server">
                         <table width="100%" cellspacing="2" cellpadding="2" class="table">
                             <tr>
                                 <td class="letrabold" bgcolor="#9AC9F8" colspan="4" style="text-align:left">
                                     &nbsp;&nbsp;Coverage</td>
                             </tr>
                             <tr valign="top" 
                                 style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #CCCCCC">
                                 <td class="style71" valign="top">
                                     States</td>
                                 <td  style="padding-left:7px" class="style31">
                                     <asp:CheckBox ID="chkstatesall" runat="server" AutoPostBack="True" 
                                         CssClass="letraNegra13" Font-Bold="True" ForeColor="#525663" 
                                         oncheckedchanged="chkstatesall_CheckedChanged" Text="All" />
                                     <table cellspacing="1" style="border-style:groove; border-width:2px" 
                                         width="400px">
                                         <tr>
                                             <td >
                                                 <asp:CheckBoxList ID="ChkListState" runat="server" Font-Bold="True" 
                                                     ForeColor="#525663" RepeatColumns="3" Width="400px">
                                                 </asp:CheckBoxList>
                                             </td>
                                         </tr>
                                     </table>
                                 </td>
                                 <td class="style52" valign="top">
                                     &nbsp;</td>
                                 <td align="left" class="style15" valign="top">
                                     &nbsp;</td>
                             </tr>
                             <tr valign="top">
                                 <td valign="top" class="style71">
                                     Counties</td>
                                 <td valign="top" colspan="3"  style="padding-left:7px" class="style31">
                                     <asp:CheckBox ID="chkcountiesall" runat="server" AutoPostBack="True" 
                                         CssClass="letraNegra13" oncheckedchanged="chkcountiesall_CheckedChanged" 
                                         Text="All" Font-Bold="True" ForeColor="#525663" />

                                     <table width="923px" cellspacing="1" style="border-style:groove; border-width:2px">
                                        <tr>
                                            <td ><asp:CheckBoxList ID="ChkListCounties" runat="server" RepeatColumns="6" 
                                                    Width="913px" Font-Bold="True" ForeColor="#525663"></asp:CheckBoxList></td>
                                        </tr>
                                     </table>
                                     <br/>
                                 </td>
                             </tr>
                 </table>
                        </asp:Panel>
                        </td>
                </tr>
                <tr>
                    <td align="center">
                        <table>
                            <tr>
                                <td align="center">
                                    <asp:Panel ID="FilterView" runat="server" HorizontalAlign="Center"><asp:LinkButton ID="lnk_save" runat="server" CssClass="button_save" ForeColor="White" onclick="lnk_save_Click"><span>Save</span></asp:LinkButton></asp:Panel>
                                </td>
                            </tr>
                        </table>
                        
                    </td>
                </tr>
                    <tr>
                    <td align="center">
                        <asp:Panel ID="puppermit" runat="server" BackColor="White" style="box-shadow: 0 0 15px 1px #ffffff">
                            <asp:RadioButtonList ID="allaccess" runat="server" AutoPostBack="True" 
                                Font-Bold="True" Font-Size="Small" ForeColor="#525663" 
                                onselectedindexchanged="RadioButtonList1_SelectedIndexChanged" 
                                RepeatDirection="Horizontal">
                                <asp:ListItem Value="0">All Unlimited</asp:ListItem>
                                <asp:ListItem Value="1">All View Only</asp:ListItem>
                                <asp:ListItem Value="2">All Restricted</asp:ListItem>
                            </asp:RadioButtonList>
                            <asp:Accordion ID="Accordion1" runat="server" HeaderCssClass="accordion" HeaderSelectedCssClass="accordionSelected">
                            </asp:Accordion>
                            <asp:LinkButton ID="lnk_savePermit" runat="server" CssClass="button_save" 
                                ForeColor="White" onclick="lnk_savePermit_Click"><span>Save</span></asp:LinkButton>
                            <asp:LinkButton ID="lnk_cancelPermit" runat="server" CssClass="button_save"><span>Cancel</span></asp:LinkButton>
                        </asp:Panel>
                        <asp:modalpopupextender ID="bthide_ModalPopupExtender" runat="server" DynamicServicePath="" Enabled="True" TargetControlID="bt_hide" 
                            PopupControlID="puppermit" BackgroundCssClass="FondoAplicacion">
                        </asp:modalpopupextender>
                    </td>
                </tr>
                <tr>
                    <td >
                        <asp:ImageButton ID="bt_hide" runat="server" ImageUrl="~/blank.gif" />
                    </td>
                </tr>
    </table>
</asp:Content>



<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style7
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align:top;
            text-align: left;
        }
        .style15
        {
            width: 400px;
        }
        .table
        {
           width:1100px;
           border-color:Gray;
           border-width: 1px;
	       border-spacing: 0px;
	       border-style: hidden;
	       border-color: gray;
	       border-collapse: collapse;
	             
         }
         .table tr
         {
            border-width: 0px;
	        padding: 0px;
	        border-style: solid;
	        border-color: gray;
	
          }
        .style18
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 100px;
        }
        .style19
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 99px;
        }
        .style25
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 66px;
        }
        .style31
        {
            width: 449px;
        }
        .style34
        {
            width: 401px;
        }
        .style46
        {
            width: 452px;
        }
        .style52
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 62px;
        }
<<<<<<< .mine
=======
        .style53
        {
            width: 421px;
        }
>>>>>>> .r1266
        .style53
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 101px;
        }
        .style57
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 93px;
        }
        .style68
    {
        width: 100px;
    }
        .style71
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            font-weight: 700;
            vertical-align: top;
            text-align: left;
            width: 98px;
        }
        .style72
    {
        width: 247px;
    }
        </style>
        <script language="javascript">
function SingleSelect(regex,current)
{
re = new RegExp(regex);

for(i = 0; i < document.forms[0].elements.length; i++) {

elm = document.forms[0].elements[i];

if (elm.type == 'checkbox') {

if (re.test(elm.name)) {

elm.checked = false;

}
}
}
function Button2_onclick() {

}

function Button2_onclick() {

}

function Button2_onclick() {

}

function Button2_onclick() {

}

function Button2_onclick() {

}

</script>
</asp:Content>





